package cn.openea.perpartner.payment.web.points.service;

import cn.openea.perpartner.payment.web.points.dto.PointsDto;
import cn.openea.perpartner.payment.web.points.entity.AddPoints;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Weird077
 * @description TODO
 * @date 2022-10-27 14:31
 */
@Service
public interface IAddPointsService extends IService<AddPoints> {
    List<AddPoints> selectList(PointsDto dto);

    boolean add(PointsDto pointsDto);

    double getCumulativePoints(PointsDto pointsDto);
}
